package cn.burnit.pojo;

import java.util.Date;

/**
 * 借阅书籍类
 */
public class ReaderBorrowBook {

    private String bookId;//书籍id

    private String bookname;//书名
    private String author;//作者
    private String publisher;//出版社
    private Date publish_time;//出版时间
    private float pricce;//价格
    private int stock;//库存量
    private int readerId;//借阅者id
    private String readername;//读者姓名
    private String readertype;//读者类型
    private int max_num;//可借最大数
    private int days_num;//可借天数
    private int outloan;//已借数量
    private Date borrowDate;//借阅时间
    private Date backDate;//返还时间
    private String if_back;//是否归还

    public ReaderBorrowBook() {
    }

    public ReaderBorrowBook(String bookId, String bookname, String author, String publisher, Date publish_time, float pricce, int stock, int readerId, String readername, String readertype, int max_num, int days_num, int outloan, Date borrowDate, Date backDate, String if_back) {
        this.bookId = bookId;
        this.bookname = bookname;
        this.author = author;
        this.publisher = publisher;
        this.publish_time = publish_time;
        this.pricce = pricce;
        this.stock = stock;
        this.readerId = readerId;
        this.readername = readername;
        this.readertype = readertype;
        this.max_num = max_num;
        this.days_num = days_num;
        this.outloan = outloan;
        this.borrowDate = borrowDate;
        this.backDate = backDate;
        this.if_back = if_back;
    }

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public int getReaderId() {
        return readerId;
    }

    public void setReaderId(int readerId) {
        this.readerId = readerId;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public Date getPublish_time() {
        return publish_time;
    }

    public void setPublish_time(Date publish_time) {
        this.publish_time = publish_time;
    }

    public float getPricce() {
        return pricce;
    }

    public void setPricce(float pricce) {
        this.pricce = pricce;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public String getReadername() {
        return readername;
    }

    public void setReadername(String readername) {
        this.readername = readername;
    }

    public String getReadertype() {
        return readertype;
    }

    public void setReadertype(String readertype) {
        this.readertype = readertype;
    }

    public int getMax_num() {
        return max_num;
    }

    public void setMax_num(int max_num) {
        this.max_num = max_num;
    }

    public int getDays_num() {
        return days_num;
    }

    public void setDays_num(int days_num) {
        this.days_num = days_num;
    }

    public Date getBorrowDate() {
        return borrowDate;
    }

    public void setBorrowDate(Date borrowDate) {
        this.borrowDate = borrowDate;
    }

    public Date getBackDate() {
        return backDate;
    }

    public void setBackDate(Date backDate) {
        this.backDate = backDate;
    }

    public String getIf_back() {
        return if_back;
    }

    public void setIf_back(String if_back) {
        this.if_back = if_back;
    }

    public int getOutloan() {
        return outloan;
    }

    public void setOutloan(int outloan) {
        this.outloan = outloan;
    }

    @Override
    public String toString() {
        return "ReaderBorrowBook{" +
                "bookId='" + bookId + '\'' +
                ", bookname='" + bookname + '\'' +
                ", author='" + author + '\'' +
                ", publisher='" + publisher + '\'' +
                ", publish_time=" + publish_time +
                ", pricce=" + pricce +
                ", stock=" + stock +
                ", readerId=" + readerId +
                ", readername='" + readername + '\'' +
                ", readertype='" + readertype + '\'' +
                ", max_num=" + max_num +
                ", days_num=" + days_num +
                ", outloan=" + outloan +
                ", borrowDate=" + borrowDate +
                ", backDate=" + backDate +
                ", if_back='" + if_back + '\'' +
                '}';
    }
}